import request from '@/utils/http/request'

Component({
  properties: {},
  data: {},
  methods: {
    async onShow() {

      const res = await request.post('index/findBanner', {
        page: 1,
        limit: 10
      })
      console.log(res)
    },

    async onClick() {
      const res = await request.get('index/findBanner11', {
        page: 1,
        limit: 10
      })
      console.log(res)
    }
  },
})
